// json 协议
import { defineStore } from "pinia";
import { jsonSchema } from "../views/mainPage/utils.js";

export const useJsonStore = defineStore("json", {
  state: () => ({
    json: jsonSchema,
  }),
  actions: {
    changeJsonPage(json) {
      this.json.page = json;
    },
  },
});
